package com.tbit.uqbike.object.pojo.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author yee_
 * @version 1.0
 * @date 2023/1/5 17:06
 */
@Getter
@Setter
@Accessors(chain = true)
@ToString
public class RoleCopyAddDTO implements Serializable {

    @NotNull(message = "请选择被复制角色")
    private Integer copiedRoleId;

    private Integer accountId;

    @NotBlank(message = "请填写角色名称")
    private String roleName;


}
